<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateAbout extends Migration
{

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up() {
        Schema::create('about', function (Blueprint $table) {
            $table->increments('id');
            $table->string('name', 255)->comment("小程序名称");
            $table->string('images', 500)->comment("小程序图标");
            $table->text('content')->comment("关于我们");
            $table->rememberToken();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down() {
        Schema::dropIfExists('about');
    }

}
